﻿<Project>
  <!--
    Define all of the configuration options supported for the LibraryImportGenerator.
    To use, set an MSBuild property with the name of the option to `true`.
    See OptionsHelper.cs for more information on usage.
  -->
  <ItemGroup>
      <!--
        Use the System.Runtime.InteropServices.Marshal type instead of
        the System.Runtime.InteropServices.MarshalEx type when emitting code.
      -->
      <CompilerVisibleProperty Include="LibraryImportGenerator_UseMarshalType" />
      <!--
        Generate a stub that forwards to a runtime implemented P/Invoke stub instead
        of generating a stub that handles all of the marshalling.
      -->
      <CompilerVisibleProperty Include="LibraryImportGenerator_GenerateForwarders" />

      <!-- These properies are defined by the MSBuild SDK but are used in the interop source generators' TFM calculations -->
      <CompilerVisibleProperty Include="TargetFrameworkIdentifier" />
      <CompilerVisibleProperty Include="TargetFrameworkVersion" />
  </ItemGroup>
</Project>
